import { createApp } from 'vue'
import App from './App.vue'
import router from './router';
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import DataVVue3 from '@kjgl77/datav-vue3'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)
import * as echarts from 'echarts';
app.config.globalProperties.$echarts = echarts;

app.use(router).use(pinia).use(ElementPlus).use(DataVVue3).mount('#app')
